<?php
require('../../../public/connection.php');
require('../../../class/Mysql.php');
checkLogin();
$data = json_decode(file_get_contents('php://input'), true);
$delete_data_by_id = new Mysql();
$result = $delete_data_by_id->deleteDataById("dailypaper", $data["id"]);
die(json_encode($result));
